#!/usr/bin/env python3
# -*- coding: utf-8 -*-

#列表生成式
[x * x for x in range(1, 11)]

[x + y for x in 'rey' for y in 'web']

[x * x for x in range(1, 10) if x % 2 == 0]

d = {'x': 'A', 'y': 'B', 'z': 'C' }
[k + '=' + v for k, v in d.items()]

lst = ['Jingks', 'Rey', 'Xuexi', 'Websun']
[l.lower() for l in lst]